<?php
class M_ACL_Access extends K_MVC_Model_Base{

    public function isAllowed($strController, $strMethod, $arParams) {
        $arGuestAccess = $this->_getConfig()->getConfig('CONTROLLERS_AVAILABLE_GUESTS');

        if (in_array($strController, $arGuestAccess)) {
            return true;
        }

        $user = $this->_getGc()->get('AclUser');


        if ($user->getPrivilege() == 'developer') {
            return true;
        }

        return false;
    }

}